/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Test;

import Model.Beans.Student;
import Model.Beans.User;
import Model.Servicios.StudentSrv;
import Model.Servicios.UserSrv;
import Model.Utilities.Constantes.StudentState;

/**
 *
 * @author Manuel Lap
 */
public class StudentTest {
    
    public static void main(String args[]){
        Student std = null;
        StudentSrv srv  = new StudentSrv();
        UserSrv userSrv = new UserSrv();
        User user = new User();
        user = userSrv.getUserByStudent(1);
        user.setState(StudentState.APROBADO);
        srv.aprobar(user);
        System.out.println("");
//        std = srv.getStudentById(1);
//        System.out.println("");
        
        
    }
    
}
